package dao;

import java.util.List;

import vo.Passenger;
import vo.ReTicket;

public interface BookDao {
	    public List queryBySta(String tid) throws Exception ;
	    public List queryByNum(String setSta,String arSta) throws Exception;
	    public List queryTInfo(int uid) throws Exception ;
        public void bookT(String tid,int carr,String seatn) throws Exception;
        public void unsubT(String tid,int carr,String seatn) throws Exception;
        public void insertP(Passenger p);
        public int findPid(String PIDType) throws Exception;
		public void insertB(int uid, int pid, String tid, int carr,String seatn);
}
